<header class="Header">
    <div class="logo img_box">
        <img src="/static/merchant/images/logow.png">

    </div>
    <div class="top">
        <ul class="nav-buttons">
            <li id="toggle-btn">

                <span class="desktop-text layui-icon layui-icon-spread-left">
                </span>
                <span class="mobile-text">菜单</span>
            </li>
        </ul>
        <dl class="menu-btn">
            <a class="img_box ">
                <img src="/static/merchant/images/head1.png">
                <i class="msg"></i>
            </a>
            <a class="img_box">
                <img src="/static/merchant/images/head2.png">
            </a>
        </dl>
        <span class="hr"></span>
        <ul class="layui-nav">

            <li class="layui-nav-item" lay-unselect>
                <a href="javascript:;">
                    <img  src="{$userInfo.shop_thumb|default='/static/merchant/images/sign-user.png'}" class="layui-nav-img">
                    <span>{$userInfo.shop_name}</span>
                </a>
                <dl class="layui-nav-child">
                    <!-- <dd><a href="account_info.html">个人信息</a></dd> -->
                    <dd><a href="/merchant/account_pwd.html">密码修改</a></dd>
                    <dd style="text-align: center;"><a href="/merchant/login_out">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>

</header>
<div class="Sidebar" id="sidebar">
    <ul class="menu">
        <li class="menu-item">
            <div lay-on="url" href="/" class="title">
                <div class="img img_box">
                    <img class="img1" src="/static/merchant/images/nav22.png">
                    <img class="img2" src="/static/merchant/images/nav21.png">
                </div>
                <span>商品管理</span>
                <!-- <i class="layui-icon layui-icon-right"></i> -->
            </div>
        </li>
        <li class="menu-item {if $routers == 'order/list' || $routers == 'order/shop_back' || $routers == 'order/review'}  active {/if}">
            <div class="title">
                <div class="img img_box">
                    <img class="img1" src="/static/merchant/images/nav32.png">
                    <img class="img2" src="/static/merchant/images/nav31.png">
                </div>
                <span>订单管理</span>
                <i class="layui-icon layui-icon-right"></i>
            </div>
            <dl    {if  $routers == 'order/list' || $routers == 'order/shop_back' || $routers == 'order/review'}  style="display: block;" {else} style="display:none;" {/if} >
                <dd>
                    <a href="/merchant/order.html"  {if $routers == 'order/list'}  class="active" {/if} >订单管理</a>
                </dd>
                <dd>
                    <a href="/merchant/shop_back.html" {if $routers == 'order/shop_back'}  class="active" {/if}>退货管理</a>
                </dd>
                <dd>
                    <a href="/merchant/review.html" {if $routers == 'order/review'}  class="active" {/if}>订单评价</a>
                </dd>

            </dl>

        </li>
        <li class="menu-item {if $routers == 'finance/finance_cash' || $routers == 'finance/finance_account' || $routers == 'finance/finance_log' || $routers == 'finance/finance_logs'}  active {/if}">
            <div class="title">
                <div class="img img_box">
                    <img class="img1" src="/static/merchant/images/nav42.png">
                    <img class="img2" src="/static/merchant/images/nav41.png">
                </div>
                <span>财务提现</span>
                <i class="layui-icon layui-icon-right"></i>
            </div>

            <dl  {if $routers == 'finance/finance_cash' || $routers == 'finance/finance_account' || $routers == 'finance/finance_log' || $routers == 'finance/finance_logs'}  style="display: block;" {else} style="display:none;" {/if}>
                <dd>
                    <a  {if $routers == 'finance/finance_cash'}  class="active" {/if} href="/merchant/finance_cash.html">提现</a>
                </dd>
                <dd>
                    <a  {if $routers == 'finance/finance_logs'}  class="active" {/if} href="/merchant/finance_logs.html">记录</a>
                </dd>
            </dl>

        </li>
        <!-- <li class="menu-item ">
            <div class="title">
                <div class="img img_box">
                    <img class="img1" src="images/nav52.png">
                    <img class="img2" src="images/nav51.png">
                </div>
                <span>消息中心</span>
                <i class="layui-icon layui-icon-right"></i>
            </div>

        </li> -->
        <li class="menu-item {if $routers == 'store/store_info' || $routers == 'store/store_notice' || $routers == 'store/store_model'}  active {/if}">
            <div class="title">
                <div class="img img_box">
                    <img class="img1" src="/static/merchant/images/nav62.png">
                    <img class="img2" src="/static/merchant/images/nav61.png">
                </div>
                <span>店铺设置</span>
                <i class="layui-icon layui-icon-right"></i>
            </div>

            <dl {if $routers == 'store/store_info' || $routers == 'store/store_notice' || $routers == 'store/store_model' }  style="display: block;" {else} style="display:none;" {/if}>
                <dd>
                    <a  {if $routers == 'store/store_info'}  class="active" {/if} href="/merchant/store_info.html">店铺信息 </a>
                </dd>
                <dd>
                    <a {if $routers == 'store/store_notice'}  class="active" {/if} href="/merchant/store_notice.html">店铺公告</a>
                </dd>
                <dd>
                    <a {if $routers == 'store/store_model'}  class="active" {/if}  href="/merchant/store_model.html">运费模板</a>
                </dd>
            </dl>

        </li>
    </ul>
</div>